<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="G:\VsCode\WorkSpace\MyProject\web-utils-convert\dist\json2yaml.js"></script>
</head>
<body>

</body>

<script>

  let json = "{\"serialVersionUID\":-3772633962829529471,\"sourceLinkTitle\":\"Wuvrr Obin\",\"sourceUserIp\":\"Ffdt Cwd\",\"sourceLink\":\"Ay Ofnwy\",\"shortLink\":\"Fq Oudedzy\",\"user\":\"Mizexh Jg\",\"uuid\":\"Jvknghe Lmpdjx\",\"desc\":\"Usipnz Klu\",\"people\":{\"name\":\"lrc\",\"year\":20,\"sports\":[\"swimming\",\"run\",\"ski\"]}}";

  let jsonObject = JSON.parse(json);

  let yaml = json2yaml.stringify(jsonObject)

  console.log(yaml)
</script>

</html>